package com.lighting.common.feign.search.dto.inside;

import com.lighting.common.feign.search.dto.inside.BaseDto;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 * @author zhanghanjun
 * @date 2022-06-11 10:51
 */

@Getter
@Setter
public class SaveDto extends BaseDto {

    private Map<String, Object> data;

    public SaveDto() {
    }

    public SaveDto(String indexName, Map<String, Object> data) {
        super(indexName);
        this.data = data;
    }
}
